package dayOOP0718;

public class Test1 {
    public static void main(String[] args) {
        Obj o1=new Obj();  o1.b=1; o1.print();
        Obj o2=new Obj();  o2.b=3; o2.print();
        Obj o3=new Obj();  o3.b=6; o3.print();
    }
}

class Obj{
    static int a;
    int b;
    Obj(){
        a=a*2;
        b=b*3;
    }

    void print(){
        System.out.println(a+"::"+b);
    }

}


